//
//  HBChapterHeadView.h
//  HeartBeat
//
//  Created by karong on 2023/8/31.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol GRChapterHeaderViewDelegate <NSObject>

- (void)chapterSortAction:(BOOL)reverse;

@end
@interface HBChapterHeadView : UICollectionReusableView
@property (nonatomic, weak) id <GRChapterHeaderViewDelegate>delegate;

- (void)setDataWithTotal:(NSInteger)total sort_type:(NSInteger)sort_type;
@end

NS_ASSUME_NONNULL_END
